package cn.jltx.rxjava.rx.api;

import cn.jltx.rxjava.rx.bean.TencentBean;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author jltxseo
 *         Created by junlintianxia on 2017/08/16.
 */

public interface TencentApi {

    @GET("/news/index")
    Observable<String> getNewsIndex(@Query("column") String column);

    @GET("/news/index")
    Observable<TencentBean> getNewsIndexBean(@Query("column") String column);

}
